﻿using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace MyFurion.Unility.EnumData
{
    /// <summary>
    /// 缓存类型
    /// </summary>
    public enum CacheType
    {
        /// <summary>
        /// Memory缓存
        /// </summary>
        [Description("Memory缓存")]
        MEMORY = 1,
        /// <summary>
        /// Redis缓存
        /// </summary>
        [Description("Redis缓存")]
        REDIS = 2
    }
    /// <summary>
    /// 验证码类型
    /// </summary> 
    public enum EnumCaptchaType
    {
        /// <summary>
        /// 纯数字验证码
        /// </summary>
        [Description("纯数字验证码")]
        NUM = 1,
        /// <summary>
        /// 数字加字母验证码
        /// </summary>
        [Description("数字加字母验证码")]
        CHAR = 2,
        /// <summary>
        /// 数字运算验证码
        /// </summary>
        [Description("数字运算验证码")]
        ARITH = 3
    }
    /// <summary>
    ///停用/启用状态
    /// </summary>
    public enum EnumStatus
    {
        /// <summary>
        /// 停用
        /// </summary>
        [Description("停用")]
        Disabled =0,
        /// <summary>
        /// 启用
        /// </summary>
        [Description("启用")]
        Enabled =1
    }
    /// <summary>
    /// 菜单类型
    /// </summary>
    public enum EnumMenuType
    {
        /// <summary>
        /// 目录
        /// </summary>
        [Description("目录")]
        Directory = 1,
        /// <summary>
        /// 菜单
        /// </summary>
        [Description("菜单")]
        Menu = 2,
        /// <summary>
        /// 按钮
        /// </summary>
        [Description("按钮")]
        Button = 3
    }
    /// <summary>
    /// 机构数据权限类别
    /// </summary>
    public enum EnumOrgAuthority
    {
        /// <summary>
        /// 本人
        /// </summary>
        [Description("本人")]
        Self =1,
        /// <summary>
        /// 本部门
        /// </summary>
        [Description("本部门")]
        Org= 2,
        /// <summary>
        /// 本部门及下级部门
        /// </summary>
        [Description("本部门及下级部门")]
        OrgChild = 3,
        /// <summary>
        /// 自定义部门
        /// </summary>
        [Description("自定义部门")]
        CustomOrg = 4,
        /// <summary>
        /// 全部
        /// </summary>
        [Description("全部")]
        All = 5
    }
    /// <summary>
    /// 文件存储类别
    /// </summary>
    public enum EnumFileSaveType
    {
        /// <summary>
        /// 本地存储
        /// </summary>
        [Description("本地存储")]
        Local=1,
        /// <summary>
        /// FTP存储
        /// </summary>
        [Description("FTP存储")]
        FTP =2
    }
    /// <summary>
    /// 文件存储路径类别
    /// </summary>
    public enum EnumFilePathType
    {
        /// <summary>
        /// 相对路径
        /// </summary>
        [Description("相对路径")]
        Relative = 1,
        /// <summary>
        /// 绝对路径
        /// </summary>
        [Description("绝对路径")]
        Absolute = 2
    }
}
